package com.jiankang.askhealth.util;

public class ApiErrorCode {
    public static final int RUNTIME_ERROR_BASE = 100000;

    /**
     * Base Error
     */
    public static final int BASE_ERROR = RUNTIME_ERROR_BASE + 100;
    public static final int BASE_ERROR_APPTYPE_NULL = BASE_ERROR + 1;
    public static final int BASE_ERROR_PAGESIZE_NULL = BASE_ERROR + 2;
    public static final int BASE_ERROR_PAGEINDEX_NULL = BASE_ERROR + 3;


    /**
     * User
     */
    public static final int USER_ERROR_BASE = 200000;
    public static final int USER_NOT_EXIST = USER_ERROR_BASE + 1;
    public static final int USER_MEMBERID_NULL = USER_ERROR_BASE + 2;
    public static final int USER_MOBILE_INVALID = USER_ERROR_BASE + 3;

    public static final int USER_LOGIN_ERROR_BASE = 200100;
    public static final int LOGIN_NAME_IS_NULL = USER_LOGIN_ERROR_BASE + 1;
    public static final int LOGIN_PASSWORD_IS_NULL = USER_LOGIN_ERROR_BASE + 2;
    public static final int LOGIN_PASSWORD_INVALID = USER_LOGIN_ERROR_BASE + 3;

}
